export const routes = [
  {
    path: "/",
    redirect: "/home",
  },
  {
    path: "/home",
    name: "home",
    component: () => import("@/views/Home/index.vue"),
    meta: {
      keepAlive: true,
    },
  },
  {
    path: "/detail/:id",
    name: "detail",
    component: () => import("@/views/Detail/index.vue"),
    meta: {
      showNavBottom: true,
    },
  },
  {
    path: "/search",
    name: "search",
    component: () => import("@/views/Search/index.vue"),
    meta: {
      showNavBottom: true,
    },
  },
  {
    path: "/shopping",
    name: "shopping",
    component: () => import("@/views/Shopping/index.vue"),
  },
  {
    path: "/mine",
    name: "mine",
    component: () => import("@/views/Mine/index.vue"),
  },
];
